package com.dq.service.messsge;

import com.dq.exception.customException.AdminException;
import com.dq.controller.in.InstructionMessageQuery;
import com.dq.vo.Vo;
import com.dq.domain.message.oneself.InstructionMessage;

/**
 * @author cf
 *
 * 岗位逻辑
 *
 */
public interface InstructionMessageService {
    /**
     * 获取 boss 创建 的指令列表
     * @param instructionMessageQuery
     * @return
     * @throws AdminException
     */
    public Vo getDisposeByBoss(InstructionMessageQuery instructionMessageQuery) throws AdminException;
    /**
     * 添加
     * @param instructionMessage
     * @return
     * @throws AdminException
     */
    public InstructionMessage save(InstructionMessage instructionMessage)  throws AdminException;

    /**
     *修改
     * @param instructionMessage
     * @return
     * @throws AdminException
     */
    public InstructionMessage update(InstructionMessage instructionMessage) throws AdminException;

}
